package com.tjmc.nsia.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tjmc.nsia.core.dao.entity.NsiaChat;
import com.tjmc.nsia.core.dao.entity.NsiaChatSession;

;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @date 2024/06/23
 */
public interface NsiaChatSessionService extends IService<NsiaChatSession> {

    NsiaChatSession updateChatSession(NsiaChat nsiaChat);

    void deleteChatSessions(Long userId);

    NsiaChatSession getLatest(Long userId);
}
